package com.hu.zhcc.shiro.service;


import com.github.pagehelper.PageInfo;
import com.hu.zhcc.shiro.entity.bo.CheckGroup;
import com.hu.zhcc.shiro.entity.bo.CheckItem;
import com.hu.zhcc.shiro.entity.vo.CheckGroupVO;

import java.util.List;

public interface CheckGroupService {
    int add(CheckGroup checkGroup, Integer[] checkitemIds);

    PageInfo<CheckGroup> pageQuery(CheckGroupVO checkGroupVO);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    int edit(CheckGroup checkGroup, Integer[] checkitemIds);

    int delete(Integer id);

    List<CheckGroup> findAll();

    List<CheckGroup> selectBySetmealId(Integer id);
}
